package com.hkts.management.unattended.pomain.entity;

import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 采购订单
 * </p>
 *
 * @author yck
 * @since 2021-09-16
 */
public class HktsPoPomain extends Model<HktsPoPomain> {

private static final long serialVersionUID=1L;

                            private String id;
    /**
     * 订单编码
     */
        private String cPoid;
    /**
     * 单据日期
     */
        private LocalDateTime dPoDate;
    /**
     * 采购类型编码
     */
        private String cPTCode;
    /**
     * 采购部门
     */
        private String cDepCode;
    /**
     * 业务员编码
     */
        private String cPersonCode;
    /**
     * 供应商编码
     */
        private String cVenCode;
    /**
     * 物料编码
     */
        private String cInvCode;
    /**
     * 计量单位（编码）
     */
        private String cUnitLd;
    /**
     * 数量
     */
        private BigDecimal iQuantity;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public String getcPoid(){
            return cPoid;
            }

        public void setcPoid(String cPoid) {
            this.cPoid = cPoid;
            }

    public LocalDateTime getdPoDate(){
            return dPoDate;
            }

        public void setdPoDate(LocalDateTime dPoDate) {
            this.dPoDate = dPoDate;
            }

    public String getcPTCode(){
            return cPTCode;
            }

        public void setcPTCode(String cPTCode) {
            this.cPTCode = cPTCode;
            }

    public String getcDepCode(){
            return cDepCode;
            }

        public void setcDepCode(String cDepCode) {
            this.cDepCode = cDepCode;
            }

    public String getcPersonCode(){
            return cPersonCode;
            }

        public void setcPersonCode(String cPersonCode) {
            this.cPersonCode = cPersonCode;
            }

    public String getcVenCode(){
            return cVenCode;
            }

        public void setcVenCode(String cVenCode) {
            this.cVenCode = cVenCode;
            }

    public String getcInvCode(){
            return cInvCode;
            }

        public void setcInvCode(String cInvCode) {
            this.cInvCode = cInvCode;
            }

    public String getcUnitLd(){
            return cUnitLd;
            }

        public void setcUnitLd(String cUnitLd) {
            this.cUnitLd = cUnitLd;
            }

    public BigDecimal getiQuantity(){
            return iQuantity;
            }

        public void setiQuantity(BigDecimal iQuantity) {
            this.iQuantity = iQuantity;
            }

    public static final String ID ="id";

    public static final String C_POID ="c_poid";

    public static final String D_PO_DATE ="d_po_date";

    public static final String C_P_T_CODE ="c_p_t_code";

    public static final String C_DEP_CODE ="c_dep_code";

    public static final String C_PERSON_CODE ="c_person_code";

    public static final String C_VEN_CODE ="c_ven_code";

    public static final String C_INV_CODE ="c_inv_code";

    public static final String C_UNIT_LD ="c_unit_ld";

    public static final String I_QUANTITY ="i_quantity";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HktsPoPomain{" +
                ", id=" + id +
                ", cPoid=" + cPoid +
                ", dPoDate=" + dPoDate +
                ", cPTCode=" + cPTCode +
                ", cDepCode=" + cDepCode +
                ", cPersonCode=" + cPersonCode +
                ", cVenCode=" + cVenCode +
                ", cInvCode=" + cInvCode +
                ", cUnitLd=" + cUnitLd +
                ", iQuantity=" + iQuantity +
        "}";
        }
        }
